<template>
  <div class="show_info">
    <div class="info_my">
      <img src="../common/img/c.png" />
      <div class="info_mem">
        <div class="nickname">smile的微笑</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'PersonDialog',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
.show_info {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  width: 300px;
  margin: 0 auto;
  left: 0;
  right: 0;
  border-radius: 5px;
  box-shadow: 0 0 10px 0 #fff;
  z-index: 9999999;
  top: 30%;
  img {
    display: block;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 #888;
  }
  .info_my {
    text-align: center;
    * {
      display: inline-block !important;
      vertical-align: middle;
    }
    .info_mem {
      color: #fff;
      max-width: 120px;
      div {
        text-align: left;
      }
      .nickname {
        max-width: 120px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
    }
  }
}
</style>
